package com.yyt.database_demo.domain;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * @author yeyangtao
 * @date 2020/6/2 14:54
 */
@MappedSuperclass
public class UserParent {
    @Column(nullable = false, columnDefinition = "varchar(255) COMMENT '父名称'")
    private String pName;

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }
}
